package cn.imvc.app.models;

import java.util.List;

import org.springframework.data.domain.Page;

import cn.imvc.app.entities.Bank;
import cn.imvc.data.domain.ViewRequest;

public interface BankModel{
	Page<Bank> find(ViewRequest viewRequest);

	Bank get(int id);

	Bank save(Bank entity);

	Bank update(Bank entity);

	void delete(int id);

	void deleteBatch(int[] ids);	
	
	List<Bank> findAll();
	
	List<Bank> findAll(byte isDisabled);
	
	
}